<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!-- 로그인 체크 -->
<c:if test="${empty userId}">
<div align="right">
	<a href="../login.do"><img src="../images/1.jpg" alt="" width="39" height="25" border="0" name=""></a>
	<a href="../memberJoin.do"><img src="../images/2.jpg" alt="" width="45" height="25" border="0" name=""></a>
</div>
</c:if>
<c:if test="${!empty userId}">
<div align="right">
	<a href="" ><img src="../images/3.jpg" alt="" width="54" height="13" border="0" name=""></a>
	<a href=""><img src="../images/4.jpg" alt="" width="45" height="13" border="0" name=""></a>
	<c:if test="${userId == 'admin' }">
	<a href="../shop/buyList.do"><img src="../images/5.jpg" alt="" width="56" height="13" border="0" name=""></a>
	</c:if>
	<c:if test="${userId != 'admin' }">
	<a href="../shop/myInfo.do"><img src="../images/5.jpg" alt="" width="56" height="13" border="0" name=""></a>
	</c:if>
	<a href="../logout.do"><img src="../images/out.gif" alt="" width="56" height="13" border="0" name=""></a>
</div>
</c:if>

<!-- 로고, 있는테이블 -->
<table align="center" width="100" border="0" cellpadding="0" cellspacing="0">
	<!-- 로고 -->
	<tr>
		<td><a href="shopMain.do"><img src="../images/main.jpg" alt="" border="0"></a></td>
	</tr>
	<tr>
		<td height="30"><td>
	</tr>
</table>